/**
 *
 * @file	hahgay.cpp
 * @author	Michiel Hegemans
 * @author	Peter Evers
 * @date	November 15, 2012
 * @brief	Voice example file
 *
 * Totally annoying piece of software.
 */

#include <voice/hahgay.h>

void Hahgay::init() {
	voiceClass_.changeVoice(VOICE_DEFAULT);
}

void Hahgay::spin() {
	ros::Rate loop_rate(0.3);

	while (ros::ok()) {
		loop_rate.sleep();
		ros::spinOnce();
		voiceClass_.say("Ha gay!");
	}
}

int main(int argc, char** argv) {
	ros::init(argc, argv, "hahgay_sound");
	Hahgay voice;

	voice.init();
	voice.spin();

	return 0;
}
